﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Shared/Views/Shared/_Layout.Mobile.cshtml";
}
@using SchoolProject2012.Langue


<ul data-role="listview" data-theme="c">
    <li data-icon ="arrow-r">@Html.ActionLink(Resources.coursPrev, "coursPrev", new { area = "Eleve", controller = "Event", langue = ViewBag.langue })</li>
    <li data-icon ="arrow-r">@Html.ActionLink(Resources.coursNext, "coursNext", new { area = "Eleve", controller = "Event", langue = ViewBag.langue })</li>
    <li data-icon ="arrow-r">@Html.ActionLink(Resources.examPrev, "examsPrev", new { area = "Eleve", controller = "Event", langue = ViewBag.langue })</li>
    <li data-icon ="arrow-r">@Html.ActionLink(Resources.examNext, "examsNext", new { area = "Eleve", controller = "Event", langue = ViewBag.langue })</li>
    <li data-icon ="arrow-r">@Html.ActionLink(Resources.eventNext, "eventNext", new { area = "Eleve", controller = "Event", langue = ViewBag.langue })</li>
    <li data-icon ="arrow-r">@Html.ActionLink(Resources.eventPrev, "eventPrev", new { area = "Eleve", controller = "Event", langue = ViewBag.langue })</li>
    <li data-icon ="arrow-r">@Html.ActionLink(Resources.projetNext, "projetNext", new { area = "Eleve", controller = "Event", langue = ViewBag.langue })</li>
    @if (Roles.IsUserInRole("Delegue") || Roles.IsUserInRole("BDE"))
    {
        <li data-icon ="arrow-r">@Html.ActionLink(Resources.addEvent, "addEvent", new { area = "Eleve", controller = "Event", langue = ViewBag.langue })</li>
    }

</ul>

   